package com.aspose.cells.a.d;

public class zeg extends zfc {
   private zfj a = new zfj();

   public zeg(com.aspose.cells.b.a.d.zm var1) {
      super(var1);
      this.a.a(0, 0);
   }

   public int a() {
      return this.a.a();
   }

   public void a(zef var1) throws Exception {
      this.a.a(var1.m(), (int)this.d().i());
      this.a(com.aspose.cells.b.a.zo.a(var1.m()));
      this.c(" 0 obj");
   }

   public void b() throws Exception {
      this.a("\r\nendobj\r\n");
   }

   public int c() throws Exception {
      int var1 = (int)this.d().i();
      this.c("xref");
      this.a("0 ");
      this.c(com.aspose.cells.b.a.zo.a(this.a.a()));
      this.c("0000000000 65535 f");
      StringBuilder var2 = new StringBuilder(20);

      for(int var3 = 1; var3 < this.a.a(); ++var3) {
         var2.setLength(0);
         com.aspose.cells.a.c.zp.a((Integer)this.a.c(var3), 10, var2);
         var2.append(" 00000 n");
         this.c(com.aspose.cells.b.a.zr.a(var2));
      }

      return var1;
   }
}
